projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca06525
)
Provide a prototype for unsetenv on MS-Windows.
author
Eli Zaretskii
<eliz@gnu.org>
Sun, 9 Dec 2012 22:10:18 +0000
(
00:10
+0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sun, 9 Dec 2012 22:10:18 +0000
(
00:10
+0200)
nt/inc/unistd.h (unsetenv): Provide a prototype.
nt/ChangeLog
patch
|
blob
|
history
nt/inc/unistd.h
patch
|
blob
|
history
diff --git
a/nt/ChangeLog
b/nt/ChangeLog
index 8cb9594d4d0299a3c5351d0fc19877cca9d32876..35fcefe5b1be6eab2f09de0ddfe836820ecccdcf 100644
(file)
--- a/
nt/ChangeLog
+++ b/
nt/ChangeLog
@@
-1,3
+1,7
@@
+2012-12-09 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (unsetenv): Provide a prototype.
+
2012-12-08 Eli Zaretskii <eliz@gnu.org>
* inc/ms-w32.h (putenv): Redirect to sys_putenv.
diff --git
a/nt/inc/unistd.h
b/nt/inc/unistd.h
index e751ed124d3beb7dd341d62372f7d1b1b3150323..5fdd9c8eb888acaf129ab86f0b7b485d2842a278 100644
(file)
--- a/
nt/inc/unistd.h
+++ b/
nt/inc/unistd.h
@@
-28,4
+28,7
@@
extern int faccessat (int, char const *, int, int);
#define O_NOCTTY 0
+/* This is normally on stdlib.h, but we don't override that header. */
+extern int unsetenv (const char *);
+
#endif /* _UNISTD_H */